package com.sikao.app.bean;

import java.util.List;

/**
 * Created by Sun on 2016/8/1.
 */
public class MallCreateOrderSubmitBean {

    /**
     * type : mall
     * goodsId : 17
     * price : 370.00
     * totalPrice : 3700.00
     * number : 10
     * attr : [{"id":"2","value":"7%"},{"id":"3","value":"7000大卡"}]
     */

    private String type;
    private String goodsId;
    private String price;
    private String totalPrice;
    private String number;
    /**
     * id : 2
     * value : 7%
     */

    private List<AttrBean> attr;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public List<AttrBean> getAttr() {
        return attr;
    }

    public void setAttr(List<AttrBean> attr) {
        this.attr = attr;
    }

    public static class AttrBean {
        private String id;
        private String value;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
